Skip to content

Split LlamaDemo Android workflow with configurable model URLs#146

Merged
kirklandsign merged 4 commits into
mainfrom
hsz/split-llm-android-workflow
Jan 15, 2026
Merged

Split LlamaDemo Android workflow with configurable model URLs#146
kirklandsign merged 4 commits into
mainfrom
hsz/split-llm-android-workflow

Conversation

@kirklandsign
Copy link
Copy Markdown
Contributor

@kirklandsign kirklandsign commented Jan 14, 2026

Summary

  • Create dedicated llm-android.yml workflow for LlamaDemo instrumentation tests
  • Run on pull_request (with path filters for llm/android/**) and workflow_dispatch
  • Remove instrumentation tests from android-build.yml (now only nightly builds)
  • Add pte_url and tokenizer_url inputs to allow testing with different models
  • Standardize model filenames to model.pte and tokenizer.model

Test plan

  • Workflow triggers on PR changes to llm/android/**
  • Workflow runs with default stories model on pull_request
  • Workflow dispatch allows custom model/tokenizer URLs
  • Instrumentation tests pass with renamed model files

Move LlamaDemo build and instrumentation tests to llm-android.yml
with pull_request trigger. Keep android-build.yml for nightly builds
of both LlamaDemo and DeepLabV3Demo on schedule only.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 14, 2026
The build is already handled by android-build.yml on schedule.
This workflow now only runs connectedCheck for PR validation.
- Add pte_url and tokenizer_url workflow_dispatch inputs with stories
  model defaults
- Download and rename files to model.pte and tokenizer.model
- Update SanityCheck.java and UIWorkflowTest.java to use model.pte
- Add skipModelDownload gradle flag to skip automatic download when
  CI pushes models directly
@kirklandsign kirklandsign changed the title Split LlamaDemo Android workflow into separate file Split LlamaDemo Android workflow with configurable model URLs Jan 15, 2026
@kirklandsign kirklandsign merged commit 39ba4e0 into main Jan 15, 2026
2 checks passed
@kirklandsign kirklandsign deleted the hsz/split-llm-android-workflow branch January 15, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants